
package com.practice2.exercise;

public class User {


    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }
    public void show(){
        System.out.println(name + ": " + id);



    }
    String name;
    int id;

    }



